/*
 * Copyright (c) 2017 Solidwang. All Rights Reserved
 */
package com.solid4j.auth.service;

import com.solid4j.auth.model.User;
import com.solid4j.auth.page.Page;

/**
 * @author: solidwang
 * @date: 17/4/17
 * 用户接口
 */
public interface UserService {

    Integer save(User user);

    Page<User> getUserList(String condition, Integer currentPage, Integer pageSize, String orderBy);

    void delete(User user);

    User get(Integer id);

    User getByPassport(String passport);

    void update(User user);
}
